/** @format */
export default {
	/* @desc: 统一组装 HTTP 请求的 Url 地址 */
	sslwxbdUrl(apiName) {
		const requestBaseUrl = "https://sslwxbd.peiyinapp.com/webtts2/tts/api/";
		return `${requestBaseUrl}${apiName}`;
	},
	bsqUrl(apiName) {
		const requestBaseUrl = "https://sslwxbd.peiyinapp.com/bsqbiz/bsq/api/";
		return `${requestBaseUrl}${apiName}`;
	},
	apiMixUrl(apiName) {
		var aData = Date.parse(new Date()); //获取时间
		const requestBaseUrl =
			"https://api.peiyintek.cn/mix/api.php?v=3.0&t=" + aData; //https://dingyue.peiyinapp.com 测试环境
		return `${requestBaseUrl}${apiName}`;
	},
	/* apiMixUrl(apiName) {
	       var aData = Date.parse(new Date()); //获取时间
	       const requestBaseUrl =
	           "https://sv1.peiyinapp.com/idphoto/photo/api/c=1001&v=3.1&a=daixzzj"; //https://dingyue.peiyinapp.com 测试环境
	       return requestBaseUrl;
	   }, */

	apiMixUrlKey(apiName) {
		var aData = Date.parse(new Date()); //获取时间
		const requestBaseUrl =
			"https://api.peiyintek.cn/mix/api.php?v=1.2&t=" + aData;
		return `${requestBaseUrl}${apiName}`;
	},
	wycUrl(apiName) {
		// const requestBaseUrl = "https://www.lycecho.com/api/getOriginal";
		const requestBaseUrl = "https://chat.aixiezuo888.com/chat/api/";
		return `${requestBaseUrl}${apiName}`;
	},
	wycUrlApi() {
		const requestBaseUrl = "https://www.lycecho.com/api/getOriginal";
		return `${requestBaseUrl}`;
	},
	sslbiz(apiName) {
		var aData = Date.parse(new Date()); //获取时间
		const requestBaseUrl =
			"https://api.peiyintek.cn/mix/api.php?v=3.0&t=" + aData;
		return `${requestBaseUrl}${apiName}`;
	}
};